package com.chatplus.application.domain.entity.chat;

import com.baomidou.mybatisplus.annotation.*;
import com.chatplus.application.datasource.id.IdEntity;
import com.chatplus.application.enumeration.AiPlatformEnum;
import org.apache.ibatis.type.Alias;


/**
 * <p>Table: t_chat_model - AI 模型表</p>
 *
 * @author developer
 */
@Alias("chatModel")
@TableName(value = "t_chat_model", autoResultMap = true)
public class ChatModelEntity extends IdEntity {

    /**
     * 模型平台
     */
    private AiPlatformEnum platform;
    /**
     * 模型名称
     */
    private String name;
    /**
     * 模型值
     */
    private String value;
    /**
     * 排序数字
     */
    private Integer sortNum;
    /**
     * 是否启用模型
     */
    private Boolean enabled;
    /**
     * 对话权重，每次对话扣减多少次对话额度
     */
    private Integer weight;
    /**
     * 是否开放模型
     */
    private Boolean open;

    public AiPlatformEnum getPlatform() {
        return this.platform;
    }

    public void setPlatform(AiPlatformEnum platform) {
        this.platform =  platform;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name =  name;
    }

    public String getValue() {
        return this.value;
    }

    public void setValue(String value) {
        this.value =  value;
    }

    public Integer getSortNum() {
        return this.sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum =  sortNum;
    }

    public Boolean getEnabled() {
        return this.enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled =  enabled;
    }

    public Integer getWeight() {
        return this.weight;
    }

    public void setWeight(Integer weight) {
        this.weight =  weight;
    }

    public Boolean getOpen() {
        return this.open;
    }

    public void setOpen(Boolean open) {
        this.open =  open;
    }

}
